<ftp_delfile> : Delete Remote File (FTP)
Deletes file from a remote FTP server.
Syntax:
<ftp_delfile>("Reserved", "RemoteFile", "UserName", "Password")
Reserved
Must be empty.
RemoteFile
Full path to the remote file (e.g., ftp://softwareutilities.com/about.txt).
UserName
User login name. If empty the "anonymous" is considered.
Password
User name login password.
Example:
<#> This macro deletes file from FTP server
<#>
<cmds>
<form_item>("fm1","Remote file to
delete:","EDIT","","vRemoteFile")
<form_item>("fm1","User:","EDIT","","vUser")
<form_item>("fm1","Password:","EDIT","","vPassword")
<form_show>("fm1","FTP: Delete
File","shell32.dll",32)
<if_str>("_vCanceled==1")<exitmacro><endif>
<ftp_delfile>("","vRemoteFile","vUser","vPassword")